<template>
  <workCalendar />
</template>

<script>
import workCalendar from '@/views/dashboard/components/work-calendar'
export default {
  components: {
    workCalendar
  },
  data() {
    return {
      showDialog: true
    }
  },
  mounted() {
    // 写死只有两个权限的数据
    // 预期这个 action 调用的结果应该给我两个筛选过后的路由
    this.$store.dispatch('permission/filterRoutes', ['setting', 'departments'])
  }
}
</script>

<style>

</style>
